from math import ceil

def Interp(x1, x2, y1, y2, x):
    k = (y1 - y2) / (x1 - x2)
    b = y2 - k*x2
    y = k*x + b
    y = ceil(y*10) / 10
    return y



if __name__ == "__main__":
    import tkinter as tk
    import tkinter.font as tkFont

    root = tk.Tk()

    # 获取字体所有family

    fontfamilylist = tkFont.families(root=root)
    print(fontfamilylist)
